<template>
  <div class="app-container">
    <el-tabs v-model="activeName" >
      <el-tab-pane label="大型车锁闸" name="first"></el-tab-pane>
    </el-tabs>
    <div class="flex_hcneter" style="margin-bottom:15px;">
      大型车锁闸
      <el-switch
        v-model="suoche"
        active-color="#13ce66"
        inactive-color="#BBBBBB">
      </el-switch>关闭    开启后，当有大型车通过，道闸杆子会根据设置的落闸时长落下
    </div>
    <div class="flex_hcneter" style="margin-bottom:15px;">
      <div style="margin-right:30px;">落闸时长</div>
      <el-slider :max="120" style="width:304px;" v-model="shichang"></el-slider>
      <div class="miao flex_zhcenter">
        {{ shichang }}秒
      </div>
    </div>
    <el-button type="primary" @click="save">保存</el-button>
  </div>
</template>

<script>

export default {
  name: "BigCarsz",
  dicts: [],
  data() {
    return {
      activeName:'first',
      suoche:false,
      shichang:0,
    };
  },
  created() {

  },
  methods: {
    save(){
      this.$message({
        message: '保存成功!',
        type: 'success'
      })
    }
  }
};
</script>
<style scoped>
.miao{
  width: 94px;height: 40px;border: 1px solid #707070;
  margin-left: 20px;
}
::v-deep input::-webkit-outer-spin-button,
 ::v-deep input::-webkit-inner-spin-button {
     -webkit-appearance: none !important;
   }
 ::v-deep input[type=‘number’] {
     -moz-appearance: textfield !important;
   }
</style>
